package com.netdisk.entity;

import java.io.Serializable;

/**
 * 多用户, 多机构系统, 所有entity类的父类
 * @author chenlong
 *2013-4-13
 */
public class BaseNetdiskEntity implements Serializable{
	//多用户系统, 公司id
	protected String companyId; 
	
	//冗余字段公司的名称
	protected String companyName;
	
	protected Integer Version = null ; // 版本控制
	
	
	public BaseNetdiskEntity() {
	}

	public BaseNetdiskEntity(String companyId, String companyName) {
		super();
		this.companyId = companyId;
		this.companyName = companyName;
	}

	public String getCompanyId() {
		return companyId;
	}
	
	public String getCompanyName() {
		return companyName;
	}

	public Integer getVersion() {
		return Version;
	}

	public  void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public void setVersion(Integer version) {
		Version = version;
	}
}
